of
Creates a new PaperSize
setting.
Parameters
width
the paper size width
height
the paper size height
unit
the width
and height
measurement unit
Throws
when height
is negative
Creates a new PaperSize
setting.
Parameters
width
the paper size width
height
the paper size height
unit
the width
and height
measurement unit
name
the paper size name
Throws
when name
is empty or blank